'Declaration
Public Overloads Shared Sub Write( _ ByVal severity As LogMessageSeverity, _ ByVal writeMode As LogWriteMode, _ ByVal exception As Exception, _ ByVal attributeToException As Boolean, _ ByVal category As String, _ ByVal caption As String, _ ByVal description As String, _ ByVal ParamArray args() As Object _ )
public static void Write( LogMessageSeverity severity, LogWriteMode writeMode, Exception exception, bool attributeToException, string category, string caption, string description, params object[] args )
Parameters
- severity
- The log message severity.
- writeMode
- Whether to queue-and-return or wait-for-commit.
- exception
- An Exception object to attach to this log message.
- attributeToException
- True if the call stack from where the exception was thrown should be used for log message attribution
- category
- The category for this log message.
- caption
- A simple single-line message caption. (Will not be processed for formatting.)
- description
- Additional multi-line descriptive message (or may be null) which can be a format string followed by corresponding args.
- args
- A variable number of arguments referenced by the formatted description string (or no arguments to skip formatting).